import request from '@/utils/request'

// 查询缴费详情列表
export function listPd(query) {
  return request({
    url: '/money/pd/list/'+query.userName+"/"+query.nickName,
    method: 'get',
    params: query
  })
}

// 查询缴费记录信息列表
export function listRecordPd(query) {
  return request({
    url: '/money/pd/list/'+query.userName+"/"+query.nickName+"/"+query.payName,
    method: 'get',
    params: query
  })
}

// 删除缴费记录信息
export function delPd(pdId) {
  return request({
    url: '/money/pd/record/' + pdId,
    method: 'delete'
  })
}